package com.yc.yjh.entity;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 赛事表
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-21
 */
public class Tournaments implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 赛事ID
     */
    private Long tournamentId;

    /**
     * 赛事名称
     */
    private String name;

    /**
     * 赛事时间
     */
    private LocalDate date;

    /**
     * 赛事地点
     */
    private String location;

    /**
     * 赛事介绍
     */
    private String description;

    /**
     * 赛事规则
     */
    private String rules;

    /**
     * 赛事奖励
     */
    private String rewards;


    public Long getTournamentId() {
        return tournamentId;
    }

    public void setTournamentId(Long tournamentId) {
        this.tournamentId = tournamentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRules() {
        return rules;
    }

    public void setRules(String rules) {
        this.rules = rules;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    @Override
    public String toString() {
        return "Tournaments{" +
        "tournamentId=" + tournamentId +
        ", name=" + name +
        ", date=" + date +
        ", location=" + location +
        ", description=" + description +
        ", rules=" + rules +
        ", rewards=" + rewards +
        "}";
    }
}
